//
//  WxLogin.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2025/1/11.
//

import Foundation
import SwiftUI

class AliConfigImpl : ConfigProtocol {
    
    func getFolderConfig() -> FolderConfig{
        return FolderConfig()
    }
    
    func saveFolderConfig(bean: FolderConfig) async throws {
        
    }
    
    
    func createMainFolderDB(folder : CloudFolderBean?) async throws {
        
    }
    
    func clearRoleList() {
        //代理那边处理
    }
    
    func getAiRole(roleId: String?) async throws -> AiRoleBean {
        //代理那边处理
        AiRoleBean()
    }
    
    func getSelectAiRoleList() async throws -> [AiRoleBean] {
        //代理那边处理
        []
    }
    
    func getAiRoleList(_ force: Bool = false) async throws -> [AiRoleBean] {
        []
    }
    
    func addAiRole(bean: AiRoleBean, isAdd: Bool) async throws -> AiRoleBean {
        AiRoleBean()

    }
    
    func delAiRole(bean: AiRoleBean) async throws {
        
    }
    
    
    func selectAiRole(list: [AiRoleBean]) async throws {
        
    }
    
    
    func getTagList() async throws -> [TagBean] {
        []
    }
    
    func upload(image: UIImage, name: String) async throws -> CloudPictureBean {
        CloudPictureBean()
    }
    
    func upload(url: URL, name: String) async throws -> CloudPictureBean {
        CloudPictureBean()
    }
    
    func delUrl(fileId: String) async throws {
        
    }
    
    func getUploadCapacity() -> Int {
        return 9
    }
    
    func checkCloudCapacity() -> Bool {
        return true
    }
    
    func setOften(roleId: String?) async throws {
        
    }
    
    func getOften() async throws -> String? {
        return nil
    }
    
}
